import request from '@/utils/request'

export default {
  // 列表
  query(params) {
    return request({
      url: `/v1/base/get-search`,
      method: 'get',
      params
    })
  },
  // 删除
  remove(params) {
    return request({
      url: `/v1/base/delete-search`,
      method: 'get',
      params
    })
  },
  // 保存
  save(data) {
    return request({
      url: `/v1/base/save-search`,
      method: 'post',
      data
    })
  },
}
